package com.ztmg.water.service.base;

import com.github.pagehelper.PageInfo;
import com.ztmg.common.util.resultUtils.JsonResult;
import com.ztmg.water.dto.base.ApartmentAreaDTO;
import com.ztmg.water.dto.base.ApartmentAreaPageDTO;
import com.ztmg.water.vo.base.ApartmentAreaVO;


import java.util.List;

public interface ApartmentAreaService {
    JsonResult create(ApartmentAreaDTO dto);
    JsonResult update(ApartmentAreaDTO dto);
    JsonResult<ApartmentAreaVO> selectById(Integer id);
    JsonResult<List<ApartmentAreaVO>> select(ApartmentAreaDTO dto);
    JsonResult<PageInfo<ApartmentAreaVO>> selectPage(ApartmentAreaPageDTO dto);
    JsonResult deleteById(Integer id);
    JsonResult delete(ApartmentAreaDTO dto);
    JsonResult batchDelete(List<Integer> ids);
}
